//
//  NSString+Extension.h
//  CatalystOA
//
//  Created by ADMIN on 2017/2/14.
//
//

#import <Foundation/Foundation.h>
#import "GTMBase64.h"
@interface NSString (Extension)
//des加密
+(NSString *)stringWithDESEncrypt:(NSString *)aString;

//
+ (NSString *)stringWithDecryptString:(NSString *)aString;

//Base64加密
+(NSString *)encodeBase64:(NSString *)input;

//Base64编码
+(NSString *)base64EncodeString:(NSString *)string;

//Base64解密
+(NSString *)decodeBase64:(NSString *)input;
//对base64编码后的字符串进行解码
+(NSString *)base64DecodeString:(NSString *)string;

//Base64 字符串解码成 字符串
+(NSString *)decodeBase64ToHexString:(NSString *)input;
@end
